using Microsoft.EntityFrameworkCore;
using BiologicalResearch.Models;

namespace BiologicalResearch.Data
{
    public class ResearchContext : DbContext
    {
        public DbSet<ResearchAgent> Agents { get; set; }
        public DbSet<Experiment> Experiments { get; set; }
        public DbSet<ResearchFinding> Findings { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder options)
            => options.UseSqlite("Data Source=biological_research.db");
    }
}